import request from '@/utils/request'

//获取列表
export function getList () {
    return request({
      url: '/query',
      method: 'get'
    })
}

//上班打卡
export function insertStartTime (data) {
    return request({
      url: '/add',
      method: 'get',
      params: data
    })
}

//下班打卡
export function updateEndTime (data) {
    return request({
      url: '/change',
      method: 'get',
      params: data
    })
}

//删除
export function deltime (data) {
    return request({
      url: '/delete',
      method: 'get',
      params: data
    })
}